package com.shop.cloud.model.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler",
		"fieldHandler" }, ignoreUnknown = true)
public class GiveFundRequest {

	@JsonProperty("userIdOrPhone")
	@ApiModelProperty(value = "用户id号或手机号", example = "", required = true)
	private String userIdOrPhone;

	@JsonProperty("amount")
	@ApiModelProperty(value = "赠送的金额", example = "", required = true)
	private Float amount;

	// 是否可提现
	private String isPresent;

	private Integer type;

	public String getIsPresent() {
		return isPresent;
	}

	public void setIsPresent(String isPresent) {
		this.isPresent = isPresent;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getUserIdOrPhone() {
		return userIdOrPhone;
	}

	public void setUserIdOrPhone(String userIdOrPhone) {
		this.userIdOrPhone = userIdOrPhone;
	}

	public Float getAmount() {
		return amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}
}
